import { InputProps, ITouchEvent } from '@tarojs/components'; import { CSSProperties, FC } from 'react'; import { AlignType } from '../../common/type-utils'; declare type OriginInputType = 'text' | 'number' | 'idcard' | 'digit' | 'safe-password' | 'nickname'; declare type BaseProps = { type: OriginInputType | 'phone' | 'password' | 'textarea'; border: boolean; clear: boolean; label: string; slotSite: AlignType; inputAlign: AlignType; icon: string; count: boolean; error: boolean; width: number | string; height: number | string; textareaClass: string; customStyle: string | CSSProperties; disabled?: boolean; labelWidth: number | string; labelClass: string; onIconTap: (e: ITouchEvent) => void; onChange: (value: string, event?: ITouchEvent) => void; onBlur: (value: string, event?: Touch) => void; onFocus: (value: string, event?: ITouchEvent) => void; onConfirm: (value: string, event?: ITouchEvent) => void; }; declare type BaseInputProps = Omit & Partial; declare const YgInput: FC; export default YgInput;